package com.gmrz.webauthn.protocol.v1.schema;


public enum TokenBindingStatus {
    PRESENT("present"),
    SUPPORTED("supported"),
    NOTSUPPORTED("not-supported");

    private String mValue;

    private TokenBindingStatus(String mValue) {
        this.mValue = mValue;
    }

    public String toString() {
        return this.mValue;
    }

    public static TokenBindingStatus forValue(String value) {
        for (TokenBindingStatus status : values()) {
            if (status.mValue.equalsIgnoreCase(value)) {
                return status;
            }
        }
        throw new IllegalArgumentException("unsupported status");
    }
}
